package com.qidian.mes.qc.service;

import com.qidian.mes.pojo.Defect;
import com.qidian.mes.util.pojo.MESResult;


public interface DefectService {
    /**
     * @param defectId
     * @return
     */

    MESResult queryById(Long defectId);

    //分页
    MESResult list(int page, int limit, Defect defect);

    //新增
    MESResult save(Defect defect);

    //更新
    MESResult update(Defect defect);

    //删除
    MESResult deleteByDefectId(Long defectId);

    //批量删除
    MESResult deletesByDefectIds(Long [] defectId);


}
